import React, { useState } from 'react'
interface props {
	message?: string
}

function App({ message }: props) {
	const [count, setCount] = useState(0)

	return (
		<div>
			<div>{message}</div>
			<div>{count}</div>
			<button onClick={() => setCount(count + 1)}>点击</button>
		</div>
	)
}

export default App
